package com.bestcem.xm.txtanls.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 文本分析项目字段枚举
 * @author jy.zhao
 * @version 1.0
 * @date 2021/9/28 16:18
 **/
@Getter
@ToString
public enum ProjectFieldTypeEnum {
    /**
     * 时间字段
     */
    TIME("time", 0),

    /**
     * 文本字段
     */
    TEXT("text", 1);

    private final String name;

    private final int index;

    ProjectFieldTypeEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
